<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.css}">
    <link rel="stylesheet" th:href="@{/css/common.css}">
</head>
<body>
<div th:insert="~{common/header::header2}"></div>
<div class="container-fluid">
    <div class="row">
        <div th:insert="~{common/menu::menu}" class="col-md-2"></div>
        <div class="col-md-10">
            <ul class="breadcrumb">
                <li><a th:href="@{/main.do}">后台主页</a></li>
                <li>防控知识管理</li>
                <li>防控知识录入</li>
            </ul>
            <form class="form-horizontal" th:action="@{/fact-info/input.do}">
                <div class="form-group row justify-content-sm-center">
                    <label class="col-sm-2 col-form-label font-weight-bolder">防控知识类型</label>
                    <div class="col-sm-5">
                        <select class="form-control" name="typeName">
                            <option th:each="fact:${typeInfos}" th:text="${fact.getTypeName()}"></option>
                        </select>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="factTitle" class="col-sm-2 col-form-label font-weight-bolder">防控知识标题</label>
                    <div class="col-sm-5">
                        <input type="text"  class="form-control" id="factTitle" name="factTitle" placeholder="请输入防控知识标题" required>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="factContent" class="col-sm-2 col-form-label font-weight-bolder">防控知识内容</label>
                    <div class="col-sm-5">
                        <textarea  class="form-control" id="factContent" name="factContent" placeholder="请输入防控知识内容" required></textarea>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="source" class="col-sm-2 col-form-label font-weight-bolder">发布机构</label>
                    <div class="col-sm-5">
                        <input type="text"  class="form-control" id="source" name="source" placeholder="请输入发布机构" required>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="btn btn-success btn-sm">立即提交</button>
                        <button type="reset" class="btn btn-danger btn-sm">重置</button>
                    </div>
                </div>
            </form>
        </div>

    </div>
</div>
</body>
<script th:src="@{/jquery/jquery-3.5.1.js}"></script>
<script th:src="@{/bootstrap/js/bootstrap.js}"></script>
<script th:src="@{/bootstrap/datepicker/bootstrap-datepicker.js}"></script>
<script th:src="@{/bootstrap/datepicker/bootstrap-datepicker.zh-CN.min.js}"></script>
<script th:inline="javascript">

</script>
</html>